import avatar from './avatar.jpg'
import style from './index.scss'

function creatAvatar() {
  var img = new Image()
  img.src = avatar
  img.classList.add(style.avatar)
  
  var root = document.getElementById('root')
  root.append(img)
}

export default creatAvatar;